{if $log_info['action'] == "新增"}
  <p class="task-tit margin-b15">{$operator} 添加评论：</p>
  <p class="green-text">{task_helper::strip_html($log_info['new_value'], 500)}</p>
  <p class="margin-b15"><a href='{$smarty.const.SITE_URL}{AnUrl("task/{$task_info.id}")}?rand={time()}{rand()}#comment_{$comment_id}'>{$smarty.const.SITE_URL}{AnUrl("task/{$task_info['id']}")}#comment_{$comment_id}</a></p>
{elseif $log_info['action'] == "删除"}
  <p class="task-tit margin-b15">{$operator} 删除了评论</p>
  <p class="old-text margin-b15">{task_helper::strip_html($log_info['new_value'], 500)}</p>
{elseif $log_info['action'] == "修改"}
  <p class="task-tit margin-b15">{$operator} 更改了评论</p>
  <p class="old-text">{task_helper::strip_html($log_info['old_value'], 500)}</p>
  <p>修改为:</p>
  <p class="new-text margin-b15">{task_helper::strip_html($log_info['new_value'], 500)}</p>
  <p class="margin-b15"><a href='{$smarty.const.SITE_URL}{AnUrl("task/{$task_info.id}")}?rand={time()}{rand()}#comment_{$comment_id}'>{$smarty.const.SITE_URL}{AnUrl("task/{$task_info['id']}")}#comment_{$comment_id}</a></p>
{/if}